import {JSDOM} from 'jsdom';

let check = false;

if (!check) {
    const dom = (new JSDOM('...'));
    global.window = dom.window;
    global.document = dom.window.document;
    check = true;
}
